package com.example.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.chat.domain.entity.ChatContent;
import com.example.chat.domain.entity.GroupChat;
import com.example.chat.domain.vo.QueryGroupFulInfoVo;
import com.example.chat.domain.vo.QueryGroupVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GroupChatMapper extends BaseMapper<GroupChat> {

    List<QueryGroupVo> queryGroupChats(Long id);

    List<ChatContent> queryGroupMessage(List<Long> msgIds);

    QueryGroupFulInfoVo queryGroupFulInfo(Long userId,Long groupChatId);
}
